<?php
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/5/30 0030
 * Time: 21:54
 */
namespace App\FreeBird\Exceptions;


use App\Base\Exceptions\ApiException;

class FreeBirdException extends ApiException{
    const EROOR_OPTION = [40001, '操作失败'];



    //===================================金币异常=======================================
    const EROOR_REDPAKE_NUM_ERROR = [40010, '红包领取次数超过系统设置数量'];
    const EROOR_REDPAKE_MINUTE_ERROR = [40011, '上一次到这次领取间隔要超过:{msg}'];
    const EROOR_REDPAKE_AMOUNT_ERROR = [40012, '无可用领取金额'];
    const EROOR_REDPAKE_CATEGROY_ERROR = [40013, '查无分错误'];

    //=======================================订单操作--订单评论=======================================================
    const EROOR_INFO_NOT_FIND = [42001, '找不到订单'];
    const EROOR_INFO_ACCEPT_UID_NOT_FIND = [42002, '找不到订单'];
    const EROOR_INFO_COMMENT_IS_EXITS = [42003, '评论的订单已存在不能在评论'];
    const EROOR_INFO_ORDER_OWER = [42004, '此订单不是你自已无法评论'];
    const EROOR_INFO_STATUS = [42005, '退单状态不在当前状态错误'];
    const EROOR_INFO_STATUS_EXEC = [42006, '该订单的状态不正确，无法执行此动作'];
    const EROOR_INFO_STATUS_ACCEPT_EXITS = [42007, '找不到订单认息'];
    const EROOR_INFO_ACCEPT_NOT_EXITS = [42008, '接单人不存在'];
    const EROOR_INFO_ACCEPT_SELF = [42009, '接单不能自已下单'];
    const EROOR_INFO_UPDATE_ORDERSTATUS = [42010, '修改订单状态失败'];
    const EROOR_INFO_PAY_NOTICE = [42001, '支付订单错误'];

    const EROOR_COMPLAINT_NOT_FIND = [42001, '查不到被投设信息'];
    //===========================================vip=================================================
    const EROOR_VIP_USER_SCORE_ERROR = [40013, '用户金币不足'];
}